package com.dhcc.cdc.busi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.core.framework.base.entity.DataEntity;

import java.util.Date;


/**
 * 标本送检记录
 * 
 * @ClassName: LabVisitEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-04-26 16:21:40
 */
@TableName("t_cdc_bs_lab_visit") 
public class CdcLabVisitEntity extends DataEntity<CdcLabVisitEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//就诊记录
	private Long episodeId;	
	//索引码
	private String xcode;	
	//检验号|标本号
	private String specVisitNum;	
	//标本
	private String specimen;	
	//申请科室|送检科室
	private Long labLocId;	
	//申请病区|送检病区
	private Long labWardId;	
	//采集日期
    @JSONField(format="yyyy-MM-dd")
	private Date colDate;	
	//采集人
	private String colUserName;	
	//接收日期
    @JSONField(format="yyyy-MM-dd")
	private Date recDate;	
	//接受人
	private String recUserName;	
	//元数据
	private Long dataId;	
	//是否有效
	private Integer isActive;	

	/**
	 * 设置：就诊记录
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊记录
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：索引码
	 */
	public void setXcode(String xcode) {
		this.xcode = xcode;
	}
	/**
	 * 获取：索引码
	 */
	public String getXcode() {
		return xcode;
	}
	/**
	 * 设置：检验号|标本号
	 */
	public void setSpecVisitNum(String specVisitNum) {
		this.specVisitNum = specVisitNum;
	}
	/**
	 * 获取：检验号|标本号
	 */
	public String getSpecVisitNum() {
		return specVisitNum;
	}
	/**
	 * 设置：标本
	 */
	public void setSpecimen(String specimen) {
		this.specimen = specimen;
	}
	/**
	 * 获取：标本
	 */
	public String getSpecimen() {
		return specimen;
	}
	/**
	 * 设置：申请科室|送检科室
	 */
	public void setLabLocId(Long labLocId) {
		this.labLocId = labLocId;
	}
	/**
	 * 获取：申请科室|送检科室
	 */
	public Long getLabLocId() {
		return labLocId;
	}
	/**
	 * 设置：申请病区|送检病区
	 */
	public void setLabWardId(Long labWardId) {
		this.labWardId = labWardId;
	}
	/**
	 * 获取：申请病区|送检病区
	 */
	public Long getLabWardId() {
		return labWardId;
	}
	/**
	 * 设置：采集日期
	 */
	public void setColDate(Date colDate) {
		this.colDate = colDate;
	}
	/**
	 * 获取：采集日期
	 */
	public Date getColDate() {
		return colDate;
	}
	/**
	 * 设置：采集人
	 */
	public void setColUserName(String colUserName) {
		this.colUserName = colUserName;
	}
	/**
	 * 获取：采集人
	 */
	public String getColUserName() {
		return colUserName;
	}
	/**
	 * 设置：接收日期
	 */
	public void setRecDate(Date recDate) {
		this.recDate = recDate;
	}
	/**
	 * 获取：接收日期
	 */
	public Date getRecDate() {
		return recDate;
	}
	/**
	 * 设置：接受人
	 */
	public void setRecUserName(String recUserName) {
		this.recUserName = recUserName;
	}
	/**
	 * 获取：接受人
	 */
	public String getRecUserName() {
		return recUserName;
	}
	/**
	 * 设置：元数据
	 */
	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}
	/**
	 * 获取：元数据
	 */
	public Long getDataId() {
		return dataId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
